package com.ktwlrj.core.feign.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 企业注册request
 *
 * @author zhouxuanhong
 * @date 2019-04-11 11:23
 * @since JDK1.8
 */
@Data
@ApiModel(value = "企业信息查询response", description = "企业信息查询返回参数")
public class OrganizationDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "orgName", value = "机构名称")
    private String orgName;

    @ApiModelProperty(name = "socialCreditCode", value = "统一社会信用代码")
    private String socialCreditCode;

    @ApiModelProperty(name = "address", value = "机构地址")
    private String address;

    @ApiModelProperty(name = "corporateCertificationName", value = "法定代表人")
    private String corporateCertificationName;

    @ApiModelProperty(name = "establishDate", value = "成立日期", example = "2019-04-12")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date establishDate;

    @ApiModelProperty(name = "businessTermStartDate", value = "营业期限起始日期", example = "2019-04-12")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date businessTermStartDate;

    @ApiModelProperty(name = "businessTermEndDate", value = "营业期限截止日期", example = "2019-04-22")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date businessTermEndDate;

    @ApiModelProperty(name = "mobilePhone", value = "手机号码")
    private String mobilePhone;

    @ApiModelProperty(name = "mobilePhoneEncry", value = "电话号码-加密")
    private String mobilePhoneEncry;

}
